package com.baitiaojun.system.admin.controller.tenant.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class TenantRegisterReq {

    @NotEmpty(message = "验证码不能为空")
    private String captcha;

    @NotEmpty(message = "验证码唯一标识不能为空")
    private String captchaId;

    @NotEmpty(message = "租户不能为空")
    private String tenant;

    @NotEmpty(message = "管理员账户不能为空")
    private String adminName;

    @NotEmpty(message = "管理员密码不能为空")
    private String adminPassword;
}
